/**
 * 文件名：TransferEvidence.java
 *
 * 创建人：Elvin Zhao - 279152260@qq.com
 *
 * 创建时间：2019年1月3日 下午3:58:06
 *
 * 版权所有：FNII
 */
package com.z100h.supplychain.evidence.entity;

import java.util.List;

import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;
import com.z100h.supplychain.core.Evidence;
import com.z100h.supplychain.warehouse.entity.Warehouse;

/**
 * 转库凭证
 *
 * @author Elvin Zhao - 279152260@qq.com
 * @version 1.0 Created on 2019年1月3日 下午3:58:06
 */
public class TransferEvidence extends DataEntity<TransferEvidence> implements Evidence {

	private static final long serialVersionUID = 1L;

	private String evidenceId; // 凭证id

	private String warehouseType; // 仓库类型

	private String warehouseId; // 仓库id

	private String transferReason; // 转库原因

	private String comment; // 备注

	private Warehouse warehouse;

	private List<String> resourceIds;

	public TransferEvidence() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public TransferEvidence(String id) {
		super(id);
	}

	@Override
	@ExcelField(title = "凭证id", align = 2, sort = 6)
	public String getEvidenceId() {
		return evidenceId;
	}

	public void setEvidenceId(String evidenceId) {
		this.evidenceId = evidenceId;
	}

	@ExcelField(title = "仓库类型", align = 2, sort = 7)
	public String getWarehouseType() {
		return warehouseType;
	}

	public void setWarehouseType(String warehouseType) {
		this.warehouseType = warehouseType;
	}

	@ExcelField(title = "仓库id", align = 2, sort = 8)
	public String getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(String warehouseId) {
		this.warehouseId = warehouseId;
	}

	@ExcelField(title = "转库原因", dictType = "sc_transfer_reason", align = 2, sort = 9)
	public String getTransferReason() {
		return transferReason;
	}

	public void setTransferReason(String transferReason) {
		this.transferReason = transferReason;
	}

	@ExcelField(title = "备注", align = 2, sort = 10)
	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Warehouse getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(Warehouse warehouse) {
		this.warehouse = warehouse;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public List<String> getResourceIds() {
		return resourceIds;
	}

	public void setResourceIds(List<String> resourceIds) {
		this.resourceIds = resourceIds;
	}

}
